<?php
//if(!isset($_SESSION['sid']))exit('{"status":"fail","msg":"登陆过期","code":0}');
//if(!isset($_REQUEST['action'])) exit('{"status":"fail","msg":"参数错误"}');
use \PFT\Db;
include_once '/var/www/html/new/d/module/common/Db.class.php';
include_once '/var/www/html/new/d/common/func.inc.php';
$dbConf = include_once '/var/www/html/new/d/module/common/db.conf.php';// 远端服务器配置信息
Db::Conf($dbConf['localhost']);
$sql="select * from uu_qunar_use limit 10";
$stmt = Db::Connect()->prepare($sql);
$stmt->execute();
$row=$stmt->fetch();
echo '<pre>';
print_r($row);
echo '</pre>';
Db::Close();